//
//  HomeViewController.h
//  AmazingShopping
//
//  Created by Tan on 4/6/13.
//  Copyright (c) 2013 Tan Hoang. All rights reserved.
//

#import <UIKit/UIKit.h>
#import "ScrollViewCell.h"
#import "ASIHTTPRequest.h"
#import "JSONKit.h"
#import "AppDelegate.h"
#import "LoginViewController.h"

@interface HomeViewController : UIViewController<UITableViewDelegate, UITableViewDataSource, ScrollViewCellDelegate, ASIHTTPRequestDelegate>{
    BOOL isConnected;
    NSString *serverPath;
    NSDictionary *userData;
}

@property (strong, nonatomic) NSArray *productArray;
@property (weak, nonatomic) IBOutlet UIView *mainView;
@property (weak, nonatomic) IBOutlet UITableView *tableView;

- (void)getAllProducts;
- (void)changeUserStatus;
- (IBAction)searchButtonPressed:(id)sender;

@end
